import axios from 'axios';
import { loginreq, req } from './axiosFun';
/**
 * 仓库管理
 **/
// 仓库管理-获取仓库列表
export const gongyingshangList = (params) => { return req("post", "/api/gongyingshang/list/page", params) };

// 仓库管理-保存
export const gongyingshangSave = (params) => { return req("post", "/api/gongyingshang/save", params) };
// 仓库管理-编辑
export const gongyingshangEdit = (params) => { return req("post", "/api/gongyingshang/edit", params) };

// 仓库管理-删除仓库
export const gongyingshangDelete = (params) => { return axios.delete("/api/gongyingshang/del/" + params).then(res => res.data) };
// 仓库管理-修改状态
export const gongyingshangStatus = (params) => { return req("post", "/api/gongyingshang/edit", params) };
// 仓库管理-批量删除
export const gongyingshangBatchDel = (params) => { return req("post", "/api/gongyingshang/del/batch", params) };
